import axios from '../../utils/http'

export function graphiteLaboratoryAnalysisgetAll(params) {
    return axios({
        url: '/graphiteLaboratoryAnalysis/getAll',
        method: 'get',
        params: params
    })
}
export function graphiteLaboratoryAnalysiscreate(data) {
    return axios({
        url: '/graphiteLaboratoryAnalysis/create',
        method: 'post',
        data
    })
}
export function graphiteLaboratoryAnalysisupdate(data, id) {
    return axios({
        url: '/graphiteLaboratoryAnalysis/update?id=' + id,
        method: 'put',
        data
    })
}
export function graphiteLaboratoryAnalysisdelete(id) {
    return axios({
        url: '/graphiteLaboratoryAnalysis/delete',
        method: 'delete',
        params:{
            id: id
        }
    })
}